home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-12-04 | 3.3 KB | 93 lines | [TEXT/MPS ] |
- #
- # The GXOverrideTool
- # Copyright © Apple Computer Inc, 1995.
- # Daniel I. Lipton
- #
- #
- # The following is an example of a message override tool source file.
- # Note that the tool does little sanity checking so beware.
- #
- # Blank lines are allowed. Comments start with a '#' at the beginning of the line.
- # commenting is not allowed on a source line. (cause '#' chars can be part of a line)
- #
- # This file gives examples of the dash options understood by the tool when
- # parsing the source file. (different from command line dash options)
-
-
- #
- # The Command Line options are as follows:
- #
- # -oj name: output jump table for 68k.
- # -om68k name: output message override resource for 68k.
- # -t type: Make creator type of output files be type. example: -t 'MPS '
- #
- # Example Command Line:
- # GXOverrideTool MyOverrideFile -oj MyOverrides.a -om68k MyOverrides.r -t 'MPS '
- #
- #
- # The -p option is a passthrough option to pass a line on to a target file.
- # Different forms are supported:
- # -pr for dumping into override resource files.
- # -pj for dumping into jump table file.
- #
- # This can be used to put additional #include's into a .r file that is
- # generated.
- #
- # Note, if you use the -p option in the midst of defining a message group
- # You will run into big trouble. The tool could be made to support this
- # at great expense.
- #
- #
- -pj ; This is a test. This line should be added to the jump table file.
- -pr #include "test.h" /* This would get added to the resource files specified. */
-
- # the -s option identifies what the exported name for the jump table should be for a segment.
- # It takes the format of "-s segName, entryName" (-se does same thing but exports referenceCount name)
-
- -s segmentID SD_JumpTable
- -se OtherSeg SD_Other
-
-
- # the -g option is used to start a new override resource group.
- # It takes the format of "-g overrideID"
-
- -g gxDriverImagingOverrideID
-
-
- #
- # A line with no dash option specifies an override triple.
- # The triple consists of segment name, message name, and routine name.
- # Make sure the segment names have entries in the -s lines.
- # Be careful of spelling and letter case here. easy to mess up.
- # The tool does not check for mistakes here.
- #
-
- segmentID gxPostscriptGetDocumentProcSetList DriverGetDocumentProcSetList
- segmentID gxPostscriptDoPageSetup DriverDoPageSetup
- OtherSeg gxPostscriptQueryPrinter DriverQueryPrinter
- segmentID gxPostscriptSelectPaperType DriverSelectPaperType
-
- -g (gxDriverUniversalOverrideID + 1 - 1) /* a test */
-
- segmentID gxInitialize DriverInitialize
- segmentID gxShutdown DriverShutdown
- segmentID gxFetchTaggedData DriverFetchTaggedData
- segmentID gxSetupImageData DriverSetupImageData
-
- # The NOT_A_MESSAGE string in the message column means add the routine
- # to the jump table without adding it to the override resource.
-
- OtherSeg NOT_A_MESSAGE _ARoutineThatIsntAMessage
-
- segmentID gxJobDefaultFormatDialog DriverJobDefaultFormatDialog
- segmentID gxFormatDialog DriverFormatDialog
- segmentID gxHandlePanelEvent DriverHandlePanelEvent
- segmentID gxDefaultPrinter DriverDefaultPrinter
- OtherSeg gxDefaultFormat DriverDefaultFormat
- segmentID gxDefaultDesktopPrinter DriverDefaultDesktopPrinter
- segmentID gxGetDTPMenuList DriverGetDTPMenuList
- segmentID gxDTPMenuSelect DriverDTPMenuSelect
- segmentID gxJobStatus DriverJobStatus
- segmentID gxJobIdle DriverJobIdle
-
-